#ifndef PCARDVIEWER_H
#define PCARDVIEWER_H
#include "ui_pcard_viewer.h"

#include "sqlite3.h"

class PCardViewer : public QDialog, public Ui::pcard_viewer
{
    Q_OBJECT

public:
    PCardViewer( int c, sqlite3* s, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, Qt::WFlags fl = 0 );
    ~PCardViewer();

    sqlite3 * sql;
    int card_t_n;

public slots:
    void save_data();
    void add_card();
    void remove_card();
    void edit_card();

    void refresh_holdings();

protected slots:
    virtual void languageChange();
};

#endif // PCARDVIEWER_H
